function [ result ] = EuclideanDistance( array, element )
    n=size(array,1);
    result=sqrt(sum((array-repmat(element, n, 1)).^2,2));
    
end

